    var buf = [0x5a, 0x04, 0xa0, 0xf0, 0x01, 0x02, 0x03, 0xf4];

    var key = [0x55, 0x44, 0x09, 0x11, 0x6a, 0x1f, 0x37, 0x25, 0xde, 0x43, 0xc8, 0xc0, 0x6a, 0x75, 0x28, 0x33]

    var v =[];
    for (var i = 0; i < key.length; i += 4) {
       v[i >> 2] = (key[i] 
         | key[i + 1] << 8 
         | key[i + 2] << 16 
         | key[i + 3] << 24) >>> 0 ;
     }
    var p = [];
    for (var i = 0; i < buf.length; i += 4) {
       p[i >> 2] = (buf[i] 
         | buf[i + 1] << 8 
         | buf[i + 2] << 16 
         | buf[i + 3] << 24)>>>0 ;
     }
    var enc = xtea.xTEAEncryptWithKey(4,p,v);
    console.log(p)
    var dec = xtea.xTEADecryptWithKey(4, p,v);

    console.log(p)
